package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_hunt_box", desc = "狩猎宝箱奖励日志", autoSave = true, uploadCk = true)
public class LogHuntBox extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "狩猎宝箱uid")
    private String huntBoxUid;
    @FieldTypeAnnotation(desc = "宝箱id")
    private int goodsId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogHuntBox(long userId, String huntBoxUid, int goodsId, String reward) {
        this.userId = userId;
        this.huntBoxUid = huntBoxUid;
        this.goodsId = goodsId;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
